//
// Created by Tony on 2024/1/19.
//

#ifndef PARSER_INT64_LITERAL_H
#define PARSER_INT64_LITERAL_H

#include "../AstLeaf.h"

namespace Parser {
class Int64Literal final : public AstLeaf {
    string nodeName;

public:
    explicit Int64Literal(const shared_ptr<Lexer::Token>& token) : AstLeaf(token) {
        nodeName = __func__;
    }

    int64_t getValue() const;

    int32_t accept(Compiler::Visitor* visitor) override;
};
} // namespace Parser

#endif // PARSER_INT64_LITERAL_H
